home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group96a.txt / 000185_icon-group-sender _Wed Aug 14 11:02:38 1996.msg < prev    next >
Internet Message Format  |  1996-09-05  |  1KB

  1. Received: by cheltenham.cs.arizona.edu; Wed, 14 Aug 1996 13:12:12 MST
  2. Date: Wed, 14 Aug 1996 11:02:38 -0500
  3. From: jeffery@dragon.cs.utsa.edu (Clinton Jeffery)
  4. Message-Id: <9608141602.AA00042@water.cs.utsa.edu>
  5. To: rjhare@ed.ac.uk
  6. Cc: icon-group@cs.arizona.edu
  7. In-Reply-To: <9608141104.aa01335@uk.ac.ed.tattoo> (message from R J Hare on 14 Aug 96  11:04:00 BST)
  8. Subject: Re: Problem with graphics
  9. Content-Length: 876
  10. Errors-To: icon-group-errors@cs.arizona.edu
  11. Status: O
  12.  
  13.  
  14.    [Roger Hare writes:]
  15. >  I wish to superimpose a dashed grid on my window to use as a guide for the
  16. >  positioning of objects (and some text) to be drawn in the window. When I
  17. >  save the window, I do not want the positioning grid to be part of the saved
  18. >  image. I cannot redraw the grid with "drawop=reverse" because that may well
  19. >  'undraw' some components of the objects I have drawn. Any thoughts about how
  20. >  to do this please?
  21.  
  22. One brute force way would be to draw your image identically on an on-screen
  23. window with a grid, and on an off-screen window ("canvas=hidden") without a
  24. grid.  When you save, save the off-screen version.  This seems like the best
  25. solution as long as you can spare the memory.
  26.  
  27. Clint Jeffery
  28. jeffery@ringer.cs.utsa.edu
  29. Division of Computer Science
  30. The University of Texas at San Antonio
  31. Research http://www.cs.utsa.edu/research/plss.html
  32.